#import <UIKit/UIKit.h>
#import "SFUConnectionDelegate.h"

/**
 * A WebParsable is a protocol for a website with parsable events.
 *
 * @author    James Lin
 * @version    0.5.0
 * @since      0.0.3
 */
@protocol WebParsable

/**
 * Initialize the parsable website with a URL.
 *
 * @param sourceURLString  the absolute URL of the website
 * @param theDelegate      the delegate to handle connection events
 * @return                 the initialized WebParsable
 * @see	                   SFUConnectionDelegate
 */
- (id) initWithURLString:(NSString*)sourceURLString
				delegate:(id<SFUConnectionDelegate>)theDelegate;

/**
 * Parse the events from the website.
 *
 * @return  an array of the parsed events
 */
- (NSArray*) parseEvents;

@end
